package com.xhai.common.constant;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author xhai
 * @description 请求常量
 * @date 2025/6/7
 */
@Schema(description = "请求常量")
public class RequestConstants {

    /**
     * 登录地址url
     */
    @Schema(description = "登录地址url")
    public static final String REQUEST_URI_LOGIN = "/login";

    /**
     * 请求头中token
     */
    @Schema(description = "请求头中token")
    public static final String REQUEST_HEADER_TOKEN = "token";

    /**
     * 登录用户名参数
     */
    @Schema(description = "登录用户名参数")
    public static final String REQUEST_PARAM_LOGIN_USERNAME = "username";

    /**
     * 登录密码参数
     */
    @Schema(description = "登录密码参数")
    public static final String REQUEST_PARAM_LOGIN_PASSWORD = "password";

    /**
     * token前缀
     */
    @Schema(description = "token前缀")
    public static final String TOKEN_PREFIX = "Bearer ";

    /**
     * 对称加密密钥参数
     */
    @Schema(description = "对称加密密钥参数")
    public static final String REQUEST_PARAM_LOGIN_AES_SECRET_KEY = "aesSecretKey";
}
